package com.gxa.autoparts.portal.service;

import com.gxa.autoparts.core.pojo.Coupon;

import java.util.List;
import java.util.Map;

public interface CheckMyCouponService {

    List<Coupon> unusedCouponList(Long id);
    List<Coupon> usedCouponList(Long id);
    List<Coupon> expiredCouponList(Long id);

    /**
     * 杨述波
     * @param id
     * @return
     */
    Coupon getById(Long id);

    /**
     * 获取用户的领券状态
     * @param userId
     * @return
     */
    Map<String,Object> getCouponInfoByUserId(Long userId);

}
